/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pack_sou;

/**
 *
 * @author vesprada
 */
public class SouNet extends javax.swing.JFrame {

    /**
     * Creates new form SouNet
     */
    public SouNet() {
        initComponents();//vvhvhxfcjh ,jhvhv g v
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        torn = new javax.swing.ButtonGroup();
        PanelTorn = new javax.swing.JPanel();
        diurn = new javax.swing.JRadioButton();
        nocturn = new javax.swing.JRadioButton();
        acceptar = new javax.swing.JButton();
        netejar = new javax.swing.JButton();
        eixir = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        textTreballador = new javax.swing.JTextPane();
        jScrollPane2 = new javax.swing.JScrollPane();
        textSou = new javax.swing.JTextPane();
        jLabel2 = new javax.swing.JLabel();
        jScrollPane3 = new javax.swing.JScrollPane();
        textHores = new javax.swing.JTextPane();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        PanelDescomptes = new javax.swing.JPanel();
        renda = new javax.swing.JCheckBox();
        fonavi = new javax.swing.JCheckBox();
        afp = new javax.swing.JCheckBox();
        textFonavi = new javax.swing.JTextField();
        textRenda = new javax.swing.JTextField();
        textAfp = new javax.swing.JTextField();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        textSouNet = new javax.swing.JTextField();
        textPaga = new javax.swing.JTextField();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        PanelTorn.setBorder(javax.swing.BorderFactory.createTitledBorder("Torn"));
        PanelTorn.setName(""); // NOI18N

        torn.add(diurn);
        diurn.setText("Diurn");
        diurn.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                diurnActionPerformed(evt);
            }
        });

        torn.add(nocturn);
        nocturn.setText("Nocturn");
        nocturn.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                nocturnActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout PanelTornLayout = new javax.swing.GroupLayout(PanelTorn);
        PanelTorn.setLayout(PanelTornLayout);
        PanelTornLayout.setHorizontalGroup(
            PanelTornLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelTornLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(PanelTornLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(diurn)
                    .addComponent(nocturn))
                .addContainerGap(45, Short.MAX_VALUE))
        );
        PanelTornLayout.setVerticalGroup(
            PanelTornLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelTornLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(diurn)
                .addGap(18, 18, 18)
                .addComponent(nocturn)
                .addContainerGap(17, Short.MAX_VALUE))
        );

        acceptar.setText("Acceptar");
        acceptar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                acceptarActionPerformed(evt);
            }
        });

        netejar.setText("Netejar");
        netejar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                netejarActionPerformed(evt);
            }
        });

        eixir.setText("Eixir");
        eixir.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                eixirActionPerformed(evt);
            }
        });

        jLabel1.setText("Treballador");

        jScrollPane1.setViewportView(textTreballador);

        jScrollPane2.setViewportView(textSou);

        jLabel2.setText("Sou bàsic / €");

        jScrollPane3.setViewportView(textHores);

        jLabel3.setText("Hores extra");

        jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabel4.setText("<html> Pagament<br/> hores extra </html>");

        PanelDescomptes.setBorder(javax.swing.BorderFactory.createTitledBorder("Descomptes"));

        renda.setText("Renda");
        renda.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                rendaActionPerformed(evt);
            }
        });

        fonavi.setText("Fonavi");
        fonavi.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                fonaviActionPerformed(evt);
            }
        });

        afp.setText("AFP");
        afp.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                afpActionPerformed(evt);
            }
        });

        textFonavi.setBackground(new java.awt.Color(204, 204, 204));
        textFonavi.setText("0");
        textFonavi.setEnabled(false);

        textRenda.setBackground(new java.awt.Color(204, 204, 204));
        textRenda.setText("0");
        textRenda.setEnabled(false);

        textAfp.setBackground(new java.awt.Color(204, 204, 204));
        textAfp.setText("0");
        textAfp.setEnabled(false);

        javax.swing.GroupLayout PanelDescomptesLayout = new javax.swing.GroupLayout(PanelDescomptes);
        PanelDescomptes.setLayout(PanelDescomptesLayout);
        PanelDescomptesLayout.setHorizontalGroup(
            PanelDescomptesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelDescomptesLayout.createSequentialGroup()
                .addGap(22, 22, 22)
                .addGroup(PanelDescomptesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(PanelDescomptesLayout.createSequentialGroup()
                        .addComponent(renda)
                        .addGap(18, 18, 18)
                        .addComponent(textRenda, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(PanelDescomptesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, PanelDescomptesLayout.createSequentialGroup()
                            .addComponent(afp)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(textAfp, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, PanelDescomptesLayout.createSequentialGroup()
                            .addComponent(fonavi)
                            .addGap(18, 18, 18)
                            .addComponent(textFonavi, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addContainerGap(145, Short.MAX_VALUE))
        );
        PanelDescomptesLayout.setVerticalGroup(
            PanelDescomptesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelDescomptesLayout.createSequentialGroup()
                .addGap(16, 16, 16)
                .addGroup(PanelDescomptesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(renda)
                    .addComponent(textRenda, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(19, 19, 19)
                .addGroup(PanelDescomptesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(fonavi)
                    .addComponent(textFonavi, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(19, 19, 19)
                .addGroup(PanelDescomptesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(afp)
                    .addComponent(textAfp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(26, Short.MAX_VALUE))
        );

        jLabel5.setFont(new java.awt.Font("Dialog", 1, 24)); // NOI18N
        jLabel5.setText("Sou net / €");

        jLabel6.setBackground(new java.awt.Color(0, 0, 0));
        jLabel6.setOpaque(true);

        textSouNet.setBackground(new java.awt.Color(204, 204, 204));
        textSouNet.setFont(new java.awt.Font("Dialog", 0, 18)); // NOI18N
        textSouNet.setEnabled(false);

        textPaga.setBackground(new java.awt.Color(204, 204, 204));
        textPaga.setText("0");
        textPaga.setEnabled(false);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(39, 39, 39)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(jLabel1)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 190, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(jLabel2)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 190, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                                        .addComponent(jLabel3)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED))
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(18, 18, 18)))
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(textPaga)
                                    .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 190, Short.MAX_VALUE))))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(jLabel5)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(textSouNet, javax.swing.GroupLayout.PREFERRED_SIZE, 130, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(PanelDescomptes, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(PanelTorn, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(acceptar, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(netejar, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(eixir, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(40, 40, 40))
            .addGroup(layout.createSequentialGroup()
                .addGap(25, 25, 25)
                .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 558, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(22, 22, 22)
                .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(PanelTorn, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(106, 106, 106)
                        .addComponent(acceptar)
                        .addGap(18, 18, 18)
                        .addComponent(netejar)
                        .addGap(18, 18, 18)
                        .addComponent(eixir))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel1)
                                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGap(18, 18, 18)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel2)
                                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGap(18, 18, 18)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel3)
                                    .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGap(30, 30, 30)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(layout.createSequentialGroup()
                                        .addGap(2, 2, 2)
                                        .addComponent(textPaga, javax.swing.GroupLayout.DEFAULT_SIZE, 32, Short.MAX_VALUE))
                                    .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addGap(18, 18, 18)
                        .addComponent(PanelDescomptes, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(40, 40, 40)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel5)
                    .addComponent(textSouNet, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(37, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void acceptarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_acceptarActionPerformed
        double soubase = Double.parseDouble(textSou.getText());
        double resRenda = Double.parseDouble(textRenda.getText());
        double resFonavi = Double.parseDouble(textFonavi.getText());
        double resAfp = Double.parseDouble(textAfp.getText());
        double pagHX = Double.parseDouble(textPaga.getText());
        double horesX;
        
        if(textHores.getText().equals("")) {
            horesX=0;
        }
        else {
            horesX = Double.parseDouble(textHores.getText());
        }
        
        textSouNet.setText(Double.toString((soubase + horesX * pagHX - resRenda - resFonavi - resAfp)));
    }//GEN-LAST:event_acceptarActionPerformed

    private void netejarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_netejarActionPerformed
        textTreballador.setText("");
        textSou.setText("");
        textHores.setText("");
        textRenda.setText("0");
        textFonavi.setText("0");
        textAfp.setText("0");
        textPaga.setText("0");
        diurn.setSelected(false);
        nocturn.setSelected(false);
        renda.setSelected(false);
        fonavi.setSelected(false);
        afp.setSelected(false);
        textSouNet.setText("");
    }//GEN-LAST:event_netejarActionPerformed

    private void eixirActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_eixirActionPerformed
        System.exit(0);
    }//GEN-LAST:event_eixirActionPerformed

    private void diurnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_diurnActionPerformed
        if(diurn.isSelected()) {
            textPaga.setText("30");
        }
    }//GEN-LAST:event_diurnActionPerformed

    private void nocturnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_nocturnActionPerformed
        if(nocturn.isSelected()) {
            textPaga.setText("40");
        }
    }//GEN-LAST:event_nocturnActionPerformed

    private void rendaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rendaActionPerformed
        if(renda.isSelected()) {
            double sou1 = Double.parseDouble(textSou.getText());
            textRenda.setText(Double.toString((sou1*1/10)));
        }
        else {
            textRenda.setText("0");
        }
    }//GEN-LAST:event_rendaActionPerformed

    private void fonaviActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_fonaviActionPerformed
        if(fonavi.isSelected()) {
            double sou2 = Double.parseDouble(textSou.getText());
            textFonavi.setText(Double.toString((sou2*7/100)));
        }
        else {
            textFonavi.setText("0");
        }
    }//GEN-LAST:event_fonaviActionPerformed

    private void afpActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_afpActionPerformed
        if(afp.isSelected()) {
            double sou3 = Double.parseDouble(textSou.getText());
            textAfp.setText(Double.toString((sou3*3/100)));
        }
        else {
            textAfp.setText("0");
        }
    }//GEN-LAST:event_afpActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(SouNet.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(SouNet.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(SouNet.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(SouNet.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                new SouNet().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel PanelDescomptes;
    private javax.swing.JPanel PanelTorn;
    private javax.swing.JButton acceptar;
    private javax.swing.JCheckBox afp;
    private javax.swing.JRadioButton diurn;
    private javax.swing.JButton eixir;
    private javax.swing.JCheckBox fonavi;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JButton netejar;
    private javax.swing.JRadioButton nocturn;
    private javax.swing.JCheckBox renda;
    private javax.swing.JTextField textAfp;
    private javax.swing.JTextField textFonavi;
    private javax.swing.JTextPane textHores;
    private javax.swing.JTextField textPaga;
    private javax.swing.JTextField textRenda;
    private javax.swing.JTextPane textSou;
    private javax.swing.JTextField textSouNet;
    private javax.swing.JTextPane textTreballador;
    private javax.swing.ButtonGroup torn;
    // End of variables declaration//GEN-END:variables
}
